import { request } from '@umijs/max';

/** 获取当前的生产计划 GET /generate/plan */
export async function getGeneratePlan(options?: { [key: string]: any }) {
  return request<{
    data: RRSAPI.GeneratePlan;
  }>('http://localhost:9090/generate/plan', {
    method: 'GET',
    ...(options || {}),
  });
}
